from django.db import models


class BaseModel(models.Model):
    """
    抽像类
    """
    create_date = models.DateTimeField(auto_now_add=True)
    update_date = models.DateTimeField(auto_now=True)
    is_delete = models.BooleanField(default=True)

    class Meta:
        abstract = True
